import Vue from 'vue';
import Router from 'vue-router';
import Apply from './apply.router'


Vue.use(Router)
const Index = () => import('@/views/index');
const Login = () => import('@/views/views/login');
const Register = () => import('@/views/views/register');
const Result = () => import('@/views/success');

export default new Router({
	routes: [{
    path: '/',
    name: 'index',
    meta: {
      title: '海外高层次人才科学技术创新贡献奖',
      isLogin:'yeas'
    },
    component: Index
  },{
    path: '/Login',
    name: 'Login',
    meta: {
      title: '登陆',
      isLogin:'no'
    },
    component: Login
  },{
    path: '/Register',
    name: 'Register',
    meta: {
      title: '注册',
      isLogin:'no'
    },
    component: Register
  },{
    path: '/result',
    name: 'Result',
    meta: {
      title: '申报成功'
    },
    component: Result
  }]
    .concat(Apply)
});
